Add function for extracting flat maps from file.
Simplify handling of IP addresses.
Add convenience function for loading data from a pcap file in bean format. Refactor code a little.