updated to work with http-proxy 1.0.0