async def connect(self):
tcp_client = TCPTransport(self.frame_received_cb, self.connection_closed_cb)<EOL>self.transport, _ = await self.loop.create_connection(<EOL>lambda: tcp_client,<EOL>host=self.config.host,<EOL>port=self.config.port,<EOL>ssl=self.create_ssl_context())<EOL>self.connected = True<EOL>
Connect to gateway via SSL.