shbnc.c allows you to use a SQUID bouncer with applications which are configured to use a SOCKS proxy.