Parse cmd line url before connecting to server.