Rest Api for node-http proxy server