Layer2SequenceMatcher: check packet directions when matching sequence.