Add basic protocol-level logging
Add ability to get recv'd channel
Proper reordering of received packets
Make default build buffer impl public

And the buf const.