Stop empty body and checksum being appended if len is 0
This is how it was meant to be, but there was a regression in version 2.0 that caused the checksums to be added always
This is how it was meant to be, but there was a regression in version 2.0 that caused the checksums to be added always