add kerberos and tls options support