adding socket.io support
adding socket.io support