Changed how a protocol relative url is handled.

- Protocol relative URL's are now detected in start and normalized.
- This also involved modifying how we test the protocol relative url.

#2557
Fixed tests to work properly.

#2557