fn write_status( tx_buf: &mut [u8], status: ResponseStatus, payload: &[u8], ) -> usize
Build a response frame in tx_buf and return its length.
tx_buf