Skip parsing user info, hostname and port if the parsed URL is not hierarchical.