Use protocol-relative URIs if cgiurl and url differ only by authority (hostname)