code: def connect(self):
          
          super(TLSTransport, self).connect()
          self.socket = ssl.wrap_socket(
              self.socket,
              ssl_version=ssl.PROTOCOL_TLSv1,
              cert_reqs=ssl.CERT_REQUIRED,
              ca_certs=self.ca_certs)
docs: Connects using :py:meth:`TLSTransport.connect` and wraps with TLS