get proxy configuration from env var