Implement proxy servers per protocol and per domain.

This is done in the config file.
We will eventually support the javascript file proxy.pac,
but this is a start, and a fallback if js is disabled.