Added support for Proxy Auto-Config (PAC).

.pac files will be downloaded and executed to get
proxy configuration for each url.

Closes #747
[NetworkProxy] Always use direct connection as fallback.