fix(client) added proxy support

Added proxy support via environment variables.  Fixes #1567