Allow testing with pcap file or capture #45

Separated what was possible in a different file.

Added support for different tag lengths.

Added support for key in base64.

Add configure.in checks for pcap

Changed output to stderr so that stdout could be redirected to text2pcap.

Tried to follow the project's code conventions.