pub fn write_data(out: &mut Vec<u8>, stream: u32, data: &[u8], end_stream: bool)
Appends a DATA frame.