Detect Disconnects
If there is no message within 4 minutes, then the client should CTCP PING
itself. No messages (of any type) within one minute from there should mean to disconnect (and, ideally, optionally auto-reconnect). Remove the old attempts to check for disconnects because it actually caused ping timeouts from time to time on long-lived connections.