add the rejection capability to the proxy, and minor fixes