MULE-8044 - fixing transfer encoding chunked for listneer

BufferInputStream receives the Buffer in the constructor so I can't use it.