def connect(self):
        """Connects using :py:meth:`TLSTransport.connect` and wraps with TLS"""
        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)
Connects using :py:meth:`TLSTransport.connect` and wraps with TLS