Refactor: Extract method: _foreman_proxy_uri