class Faraday::ProxyOptions

def self.from(value)

def self.from(value)
  case value
  when String
    value = {:uri => Utils.URI(value)}
  when URI
    value = {:uri => value}
  when Hash, Options
    if uri = value.delete(:uri)
      value[:uri] = Utils.URI(uri)
    end
  end
  super(value)
end