add check for valid IP packet
add check for valid IP packet

very rudimentary check to make sure the header version is 4
and packet length is at least 5 (i.e. 5 32-bit words, or 20
bytes).

chrwen-omicron/pypcapfile,kisom/pypcapfile,douglaskastle/pypcapfile