title: implementation of ping/pong for tornado websocket
body: <p>I have a <code>websocket client</code> in python implemented using <code>tornado.websocket.
  WebSocketClientConnection
  </code> which connects to a server at remote end and communicate over <code>websocket</code>. Earlier I had implemented the <code>ping/pong</code> like feedback mechanism at application layer to ensure if the remote endpoint is still responsive.</p>
  
  <p>I just recently updated my <code>tornado</code> package and I came across the <code>ping_interval</code> in <code>WebSocketClientConnection</code>. I removed the old <code>ping/pong</code> mechanism at application layer and added this <code>ping_interval</code> in my implementation. </p>
  
  <p>After this updates the <code>websocket</code> is getting closed after the mentioned <code>ping_interval timeout</code>. The server at remote end handles the <code>ping</code> at transport layer and respond accrodingly.</p>
  
  <ol>
  <li>currently I have not implemented the <code>ping</code> method so should I have to implement <code>ping</code> method for <code>WebSocketClientConnection</code>?,</li>
  <li>should I have to send any data in <code>ping</code> method?</li>
  <li>do I have to implement any method to handle the response send by remote server for the <code>ping</code> request?</li>
  </ol>