berkelium-cpp: ping implementation