Log to standard error, and don't crash the server if we get an invalid packet.