I wrote a tcl only proxy for AOLserver a few years ago. It works with https, because the tcl modules in AOLserver are above the ssl layer. It is a relatively simplistic proxy, but works for virtual hosting. The one file proxy+instructions is at
http://zmbh.com/tclvhr/