feat(client): add proxy support

Added proxy support via environment variables.

closes #1567

[skip ci]
We should use uppercase envvars.