Add packet marshalling / unmarshalling, examples

\o/