remove PcapPacket and make parsing more position independent