feat(client): add proxy support

Added proxy support via environment variables.

closes #1567

[skip ci]
@mboersma Just setting the envvars didn't seem to work for @spurdy - see #1567