Add checksum to packets