Adding Socket.io for realtime client server communication