Fix bug with network-path reference URLs, such as //example.com/endpoint (commit).
//example.com/endpoint