Setup socket.io for npm