Lint.
Simplify protocol marshalling and unmarshalling.

Instead of coming up with a gigantic class hierarchy for packet
marshalling and unmarshalling, just attach a few functions to an object
and call it a day.