add parser for header data
fixing the packet classification logic