A middleware for auto-chunking the body of a response