Get host, port, and no_proxy proxy information for a given host.
Checks $config[‘proxy’], then ENV[‘http_proxy’] / ENV[‘no_proxy’]. Also calls Proxy::find_win32_proxy if we’re in Windows.
Example:
Proxy::find_proxy #=> {"host"=>"proxy", "port"=>3128}