Fix bug in checksumbuffer, check non-encrypted checksums.
Rename Header.crc to Header.checksum.
More complete messagetypes. Small changes.