Add first tests and implementation for handling offline captures.
Add convenience function for processing pcap files.