void e_SocketDisconnected(object sender, OwinWebSocketConnection e)
        {
            if (this.SocketDisconnected != null)
                this.SocketDisconnected(this, e.Id);

            e.SocketDisconnected -= this.e_SocketDisconnected;
            e.MessageReceived -= this.e_MessageReceived;
        }
        void OwinWebSocketConnection_SocketConnected(object sender, OwinWebSocketConnection e)
        {
            if (this.SocketConnected != null)
                this.SocketConnected(this, e.Id);

            e.SocketDisconnected += this.e_SocketDisconnected;
            e.MessageReceived += this.e_MessageReceived;

            this._connectedSocketSessions.AddOrUpdate(e.Id, e, (key, value) => e);
        }