Bug fix for empty UDP packet, plus documentation update

Found a trace with an empty packet that broke my Hive jobs. It was caused by a truncated UDP packet with length=0. Isolated the packet, prepared a fix that warns of the error (so can be checked in the job logs), prepared a test.