A simple packet sniffer in swift