0.7.x proxy support

Support setting of a HTTP proxy and also use environment variable `http_proxy` if set.

This fixed #192 for the 0.7.x maintenance line.