use SSL_CTX_ctrl to speedup openssl handshake