def onConnect(self, request):
        """
        Called when a client opens a websocket connection
        """
        logger.debug("Connection opened ({peer})".format(peer=self.peer))

        self.storage = {}
        self._client_id = str(uuid1())
Called when a client opens a websocket connection