testing cross-platform pcap in erlang (ugly prototype of multithreaded port scanner in erlang)