docs: public static SSLSocketChannel open(String peer, int port, SSLContext sslContext) throws IOException
      {
          SSLEngine engine = sslContext.createSSLEngine(peer, port);
          engine.setUseClientMode(true);
          SSLParameters sslParameters = engine.getSSLParameters();
          SNIServerName  hostName = new SNIHostName(peer);
          List<SNIServerName> list = new ArrayList<>();
          list.add(hostName);
          sslParameters.setServerNames(list);
          engine.setSSLParameters(sslParameters);
          InetSocketAddress address = new InetSocketAddress(peer, port);
          SocketChannel socketChannel = SocketChannel.open(address);
          SSLSocketChannel sslSocketChannel = new SSLSocketChannel(socketChannel, engine, null, false);
          return sslSocketChannel;
      }