Example 42-1. Using a proxy server with anonymous access
In this example it is assumed that one wants to use the machine with
the hostname proxy.example.com, where a proxy
server is listening on port 8080, to proxy the
outgoing connection to example.com.
The second parameter of setProxy() is optional
and defaults to 8080.