Fixes

Collection of fixes and cleanups:

- Fix memory corruption / segfault bug in PcapReader (affecting selftests).
- Remove unused nonstandard pcap file format extension.
- Extend `pci.lua` selftest and remove dead code.