TryParseHttpsClientURL
function TryParseHttpsClientURL(const aURL: string; aDefaultPort: Word; out aOrigin: tHttpAltSvcOrigin; out aPath: string; out aExplicitPort: Boolean): Boolean;
Splits an https URL into its origin, as TryHttpAltSvcOrigin builds it, and aPath: path and query, '/' when empty, without the fragment. A URL without a port gets aDefaultPort, which must not be 0; aExplicitPort tells whether the URL named one. False for another scheme, a space or control character, userinfo, or a host HttpCanonicalOriginAuthority refuses.