Correct block_crc usage.
Change types to be compatible with msgpack python.
Add check for end of datagram.
Add test for incomplete datagram.
Fix datagram complete check.