Refactor debugging to new protocol interface.
Reimplement a couple of packets' parsing.