2 - Allow handshaking OR connections to take a full KeepalivePeriod
3 seconds to handshake. Previously, we would close them after
4 IDLE_OR_CONN_TIMEOUT seconds, as if they were open. This is a
5 bugfix on 0.2.1.26. Thanks to mingw-san for analysis help. Fixes