Return 401 if unauthorized.
Implement socket.io Disconnect.