pub fn write_chunk(out: &mut Vec<u8>, data: &[u8])
Appends one chunk (header, data, CRLF). Empty data writes nothing, since an empty chunk would end the body.