This utility interprets a pac file and calls the FindProxyForUrl() to return a list of proxies and myIpAddress() to return the ip address of the caller.
pac [ <path/to/proxy.pac> [ <destination host> [ <destination url> ]]]
make
This utility is implemented using Duktape Javascript engine.