docs: async def connect(self, timeout=None, ssl=None):
          """
          Establishes a connection with the server.
          """
          await self._connect(timeout=timeout, ssl=ssl)
          self._connected = True
  
          self._send_task = self._loop.create_task(self._send_loop())
          self._recv_task = self._loop.create_task(self._recv_loop())