fn parse_with_matcher<M>(data: &[u8], matcher: M) -> (&[u8], &[u8])where M: Fn(u8) -> bool,
Find the longest prefix of the given data where the given callback returns true