Added support for protocol-relative URLs