Updated server to use the same port for serving files and socket.io connections.