adapting to fixed http-proxy API
0.4.0