LP#1970469: fix responses streamed out of order due to chunking