measure loss with udp iperf