WIP: Support for 'no_proxy' environment variable.

These are fixes that @mislav suggest in #247 comments.