pub fn parse_msg(buf: &[u8]) -> Result<MsgParsed<'_>, EspError>
Parse the payload header, and separate the RPC bytes from the whole message. Accepts the whole message received.