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
we can probably remove the `base64` import