Defaulted socket.io url to localhost