Websocket pinger to keep connection open

Pings empty message every 30 seconds. Credit to @JaanJanno