Fix the proxy resolution when a proxy PAC is configured in the system

* Ensure that the stored settings are loaded before resolving proxy of the server URL
Merge pull request #24 from schenkos/master

Fix the proxy resolution when a proxy PAC is configured in the system