Socket.io server-side implementation

Added socket io for the node server