HTTP proxy server do its proxying based on PAC file
it's just straightforward to use nodejs to implement a proxy server supporting PAC since it's all javascript
usage: coffee pacproxy.coffee SwitchyPac.pac
dependency: socks module ,added one line change to adapt to this project