Change socket.io url to localhost