Ruby 1.8 provides Ping.pingecho, but it was removed in 1.9. So we try requiring it, and if that fails, define it ourselves.