Packet handling
---------------

(Needs to be written)
