add support for Protocol-relative URL