pub fn decode(b: &[u8]) -> Result<(Message, Protocol, usize)>
Parse one message from the front of b: the message, its protocol and the bytes it used.
b