Do not check for SSL handle validity in handshake() as it is initialized a few lines later.