support for protocol-relative assets