Added heartbeat to client, keeps websocket alive