Ensure that UDP handler does not die when invalid input is received.

Fix EUCA-7586