Added the ability to process pcap files

Also exiting the program with an exit code of 1 on most errors now
instead of just continuing without really doing anything.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>