pub type MatchFunc = Box<dyn Fn(&[u8]) -> bool + Send + Sync>;
MatchFunc allows custom logic for mapping packets to an Endpoint