Develop a proxy server and set the global proxy for your application to it.
To set the proxy server for your app, do this:
Code:
System.Net.WebRequest.DefaultWebProxy = new System.Net.WebProxy("127.0.0.1", 1234);
Where 127.0.0.1 is your local loopback address and 1234 is the proxy port.
-jD