Implementation of proxy support for ScriptRepository

re #7438
Implementation of proxy support for windows

It does correct the parsing of proxy_http in linux also

re #7438
Merge remote-tracking branch 'origin/feature/7438_proxy_repo'