Implement the Keepalive heartbeat loops in the WebSocket Connection as Heartbeat Actor spawned by the connection.
- The actor will send the peer a ping on a certain time basis dictated by the Keepalive cluster.
- It will implement a "Notify Pong" method with the respective message that the "WebSocket Connection" Actor will use when the peer answers the Pong.
- The heartbeat loop will then timeout according to the settings dictated by the Keepalive cluster. When this happens the connection to the peer will be closed
Implement the Keepalive heartbeat loops in the WebSocket Connection as Heartbeat Actor spawned by the connection.