Add api for sending ping and receiving pong on WebSocket
Merge pull request #221 from zbsz/ping

Add api for sending ping and receiving pong on WebSocket