Added checks at the point of completion of the URL parsing, so that both structure
and semantics at the stopping point are validated