Cleaned up SSLStage, particularly the handshaking.