Rough example of how this could be modified to parse HEP encapsulated packets.