Add option for reading from pcap files to standalone application.