port pacserver to SimpleProxyHandler