fix proxy chunked / non chunked