added proper recognition of swapped pcap file format