Move done() into cpp file.
Use make_unique.
Log received packets into two separate dump files.
Add logging output.