Add support for no_proxy environment variable

Closes #816.