Add socket.io stuff.