pub fn message_len(buf: &[u8]) -> Result<Option<usize>>
The length of the message at the front of buf, once its common header is there.
buf