The http package also can do secure HTTP (HTTPS) with the help of the tls package, as Michael A. Cleverly's example from the http manual illustrates:
package require http package require tls http::register https 443 ::tls::socket set token [http::geturl https://my.secure.site/]
Also see Matt Newman's example [L1 ]. [Someone help fix up that URL?]
[But none of this stuff knows how to tunnel proxies, as of December 2001.] [But maybe TclCurl helps?]