val tlsVersion: TlsVersion?
Returns the connection's TLS version or null if the connection doesn't use SSL.