added session support for socket.io