Apologies for the brevity of this question... I'm sure it's a simple yes/no type scenario only I can't nail that yes/no down..
Can you programatically specify a proxy for a tcp socket connection? Or does it use the system proxy?
Sure you can: instead of connecting to the server, connect to the proxy. You will have to use the proxy's protocol instead of the server's protocol to transfer the data.