Add -i, -c, end-of-run statistics to ping.rb