If anyone is looking for a solution to HTTP/SOCKS proxy servers I would like to suggest looking at 'SSH Proxy Command -- connect.c' (http://www.taiyo.co.jp/~gotoh/ssh/connect.html). It is a nice clean solution if you do not want to have to rewrite your app. Jonathan