title: Heroku WebSocket connection timeout
body: <p>I have a Play Framework application, serving as a WebSocket server, running on Heroku and some WebSocket clients (chat-like application).</p>
  
  <p>I noticed that Heroku closes each connection after 55 seconds of inactivity and I want to prevent this so I thought about creating a mechanism in my Play application that sends some kind of "ping" to each client in order to keep the connections alive.</p>
  
  <p>I am just wondering if this is the way to go? Am I am missing something crucial here?</p>
  
  <p>Best regards</p>