要比较成熟的。
支持HTTP,TCP/IP,并支持各种Proxy和SSL
------解决思路----------------------
curl
http://curl.haxx.se/
curl is an open source command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user+password authentication (Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate and Kerberos), file transfer resume, proxy tunneling and more.
What's curl used for?
curl is used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, media players and is the internet transfer backbone for thousands of software applications totally affecting more than one billion users.
Who makes curl?
curl is free and open software that compiles and runs under a wide variety of operating systems. curl exists thanks to thousands of contributors.
What's the latest curl?
The most recent stable version is 7.44.0, released on 12th of August 2015. Currently, 89 of the listed downloads are of the latest version.
Where's the code?
Check out the latest source code from github.