Python pcap sanitizer