Don't crash when no proxy is defined
Merge pull request #5 from scompt/no_proxy_no_crash

Don't crash when there's no proxy set