anchor.diff:      stream_chunked_body(NewState);
   stream_chunked_body({trailers, MReq, Buf, BRem}) when BRem =< 0 ->
       % Empty our buffers and send data upstream.
  -    BodyData = iolist_to_binary(lists:reverse(Buf)),
  +    BodyData = lists:reverse(Buf),
       {ok, BodyData, {trailers, MReq, [], ?PKT_SIZE}};
   stream_chunked_body({trailers, MReq, Buf, BRem}) ->
       % Read another trailer into the buffer or stop on an
  
positive.code:     end;
  stream_chunked_body({stream, MReq, CRem, Buf, BRem}) when BRem =< 0 ->
      % Time to empty our buffers to the upstream socket.
      BodyData = iolist_to_binary(lists:reverse(Buf)),
      {ok, BodyData, {stream, MReq, CRem, [], ?PKT_SIZE}};
  stream_chunked_body({stream, MReq, CRem, Buf, BRem}) ->
      % Buffer some more data from the client.
  
negative.code:     {CRem, Data} = read_chunk_length(MReq),
      case CRem of
          0 ->
              BodyData = lists:reverse(Buf, Data),
              {ok, BodyData, {trailers, MReq, [], ?PKT_SIZE}}; 
          _ ->
              stream_chunked_body(
  