I have not found a product that fulfills all your requirements, but perhaps the combination of two products can come close. The problem is, that while products that socksify applications to proxies are plentiful, none of the products I found accepts a PAC script.
So it seems to me that the best hope for socksifying an application to a PAC script is in doing this in two steps :
- Evaluate the PAC script against a URL - possible since the script is nothing more than a Javascript fragment
- Update a proxy product with the result
Possible products that evaluate PAC scripts are :
pacparser
A library to parse proxy auto-config (PAC) files, which comes with a test program called 'pactester'.
Proxytester
Open-source proxy list tester that generates a wpad.dat file that you can use in the browser.
Possible products that proxify applications :
ProxyFirewall
Force Your Programs to use a proxy at
the socket level. When it comes to
allowing packets to be sent out of
your computer, ProxyFirewall it will
not only allow you to choose if a
program is allowed to access the
Internet, but will also supply options
to force the connection through a
proxy server at the socket level.
ProxyCap ($30)
ProxyCap enables you to redirect your
computer's network connections through
proxy servers. You can tell ProxyCap
which applications will connect to the
Internet through a proxy and under
what circumstances. This is done
through a user friendly interface,
without the need to reconfigure any of
your Internet clients.
Proxifier ($39.95)
Proxifier is a program that allows
network applications that do not
support working through proxy servers
to operate through an HTTPS or SOCKS
proxy or a chain of proxy servers.
If one of the above products is parametrable via a text file, you may edit this file with the results of the PAC script evaluation, maybe by using sed for Windows, therefore achieving the proxification of the specified application according to the PAC script result.