Log date, time and thread id.
Factor out boost's async_receive setup.
Fix variable type.
Add missing declarations.
Support outputting byte array dump.
Still not working deserialization but closer to what it should be.