updated tls_options to validate_tls