Monitoring network traffic with Ruby and Pcap