pub fn encode_header(buf: &mut [u8], _flags: u8, payload_len: usize) -> usize
Encode frame header with binary encoding flags