Fix new Intellij warnings
Store command codes as Int (not Byte) to improve pat matching
Separate input parsing from output logging
Add logging of header magic
Parse config (e.g. resolution) from .pcap file name

- Emit .h files only for .pcap files using this naming convention
- Name .h files prefixed by "internal" resolution (as most of the magic
varies only by internal resolution)