Preserve protocol relative URLs when minifying the HTML markup (see #5664)