Fixes proxy issue introduced in 6969f57
Merge pull request #51 from arnihermann/fix-proxy-error

Fixes proxy issue introduced in commit 6969f57