Add socket.io between client and server.