Implement pings (without support for non-standard pings).