Change HTTP Server to socket.io