create http server and socket.io server