code: public long connectGood() {
          Lock readerLock = context.ctxLock.readLock();
          readerLock.lock();
          try {
              return SSLContext.sessionConnectGood(context.ctx);
          } finally {
              readerLock.unlock();
          }
      }
docs: Returns the number of successfully established SSL/TLS sessions in client mode.