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