send ping every 30 seconds to keep websockets alive

useful in circumstances when proxies kill idle connections

closes #3195.
Looking at the tornado source, I think this should be a bytes string `b''`.

The tests probably aren't exercising this, because no individual websocket connection will stay open for 30 seconds in the tests.