add support for proxy_buffering