Augments a request object to include proxy settings based on config or environment variables