Error-proofing dissector and packet_out recursive

Reviewer: @rlane