example of proxying packets from libpcap to remote tcp client