Change nested frame decoding.
Add PCAP writer class.

Also refactored C++ code and internal names slightly (e.g. `binding` is
now more appropriately named `pcap` and the handles have names
corresponding to their kind, i.e. reader or writer).