Add ping event

Addresses #202