Implemented packet CRC validation (more or less).