I've been adding these functions to tsocks:
1. wrap dns query for SOCKS5 (i.e., no local dns query).
2. SOCKS5+SSL support (with openssl).
3. add network configuration support.
I've finished the developing the first 2 and they worked fine in my Fedora4 machine. Still working on the 3rd;).
I wouldn't mind to contribute back my changes into tsocks. Are you still around? I didn't see any acitivty in almost 4 years.