Fix syntax for python-requests HTTP proxy support

Following http://docs.python-requests.org/en/latest/user/advanced/#proxies and http://stackoverflow.com/a/8862633

Also disallow redirects in case of HTTPS redirection
why import here instead of at module level?