Moved the common networking code to a separate file.
Adding a script that can dump packet information.
More packet info.
Better output for packet info.
Keep the same packet info state for all packets.
Fixed login regression.
Dump incoming packets.
Log both incoming and outgoing packets.
Refactoring output.
Only dump top-level fragment and ack packets in verbose mode.
Improve output and error handling.