Support for socket.io sessions