first pass documenting packet.py