Move http-proxy's code here