Sets the TLS validation flags used when creating TLS connections via this.
The default value is g_tls_certificate_validate_all.
a SocketClient.
the validation flags