http-proxy eats too much memory switching to nginx