Change a URL into protocol-relative URL