Ping using ICMP echo - adapted from golang test code