pub trait TlsConnector: Send + Sync { fn connect( &self, dns_name: &str, tcp_stream: TcpStream ) -> Result<Box<dyn HttpsStream>, Error>; }