Feature/10371 osx proxy issue

As reported by users (Ross Stuart) the script repository is currently failing on OSX with the message:

Connection and request failed . Unkown:Timeout: connect timed out: 198.74.56.37:80

This should not be happening and needs fixing ASAP.
Could we not make this all a little more general and reusable by having everything sectioned away in ```Kernel```? I was thinking along the lines of the ```Memory``` class. It hides all of OS specific stuff away in the cpp files.

The ```ProxyInfo``` class could do the same here couldn't it? If the code is weighty then we could always just have separate cpp implementations per OS and include the relevant one from ```ProxyInfo.cpp```. That way a user only has to construct an instance of ```ProxyInfo``` and call the relevant method. No proxy would simply return an empty string.