support for protocol-relative assets

It would be great to support protocol-relative URLs for the case where the generated html files are hosted on https servers.