add support for protocol relative urls