Allow incomplete URLs to be parsed correctly