Fixed error parsing proxy settings.
Made imports comptible with python 3.
Merge pull request #10 from laconic75/proxy-error

Proxy error