A URL in string form should be able to be parsed and then verbatim regenerated according to 'UrlTest'. This change fixes this ability for the case where there is a '?' initiating a query or a '//' initiating a host/authority section. Partly Fixes #14377 Change-Id: I6547253c3cdc22d79514edf75284e9725d1a2d17 Reviewed-on: https://review.haiku-os.org/512 Reviewed-by: Jérôme Duval <[email protected]>