Add ability to proxy to discovery server in another environment

Fixes issue #8