def initialize_proxy(url, options)
      @manual_proxy = !!options.proxy
      @proxy =
        if options.proxy
          ProxyOptions.from(options.proxy)
        else
          proxy_from_env(url)
        end
      @temp_proxy = @proxy
    end
def initialize_proxy(url, options)
      @manual_proxy = !!options.proxy
      @proxy =
        if options.proxy
          ProxyOptions.from(options.proxy)
        else
          proxy_from_env(url)
        end
      @temp_proxy = @proxy
    end
Initializes a new Faraday::Connection.

 @param url [URI, String] URI or String base URL to use as a prefix for all
           requests (optional).
 @param options [Hash, Faraday::ConnectionOptions]
 @option options [URI, String] :url ('http:/') URI or String base URL
 @option options [Hash<String => String>] :params URI query unencoded
                 key/value pairs.
 @option options [Hash<String => String>] :headers Hash of unencoded HTTP
                 header key/value pairs.
 @option options [Hash] :request Hash of request options.
 @option options [Hash] :ssl Hash of SSL options.
 @option options [Hash, URI, String] :proxy proxy options, either as a URL
                 or as a Hash
 @option options [URI, String] :proxy[:uri]
 @option options [String] :proxy[:user]
 @option options [String] :proxy[:password]
 @yield [self] after all setup has been done