fix the protocol relative url support