fix tls/ssl option