Add support for trailers in chunk messages