Fix checksum computation by added payload length
Various fixes, added status unmarshaling