support for protocol relative urls in config

updated logic of code to interpret '//' in proxy config as protocol
agnostic.