handle protocol relative urls