Use croak instead of carp to make packet errors fatal.