Add `sendPing:` method and a delegate method for received Pongs

Also added some sample code in the sample chat app.