Implemented header checksum check