FLAG_TLS
if (proto->params.tls_req == TLS_NO || proto->flags & FLAG_TLS)
else if ((proto->flags & FLAG_TLS) == 0)
proto->flags |= FLAG_TLS;