Fixed empty packet parsing bug

Packet iterator was not advanced for empty packets.
Merge pull request #5566 from MaMazav/Bug_fix_Empty_packet_advance_iterator

Fixed empty packet parsing bug