Check validity of LogEntry before committing to log

Sometimes when there is a lot of network activity causing tremendous
netfilter logs to be sent to the kernel message buffer, the log messages
can become corrupted.  This attempts to eliminate some of those corrpted
entries.