pub fn is_tls() -> Result<bool>
Did the client complete TLS authentication?
Call this from the open method. It returns true if the client completed TLS authentication, or false if the connection is using plaintext.
open