@Override
  public ServerEndpoint newServer(ChannelType channelType, int messageSize,
      String[] protocols, String[] ciphers) throws IOException {
    return new ServerEndpoint(factories.serverFactory, factories.serverSocketFactory,
        channelType, messageSize, protocols, ciphers);
  }
Utility for creating test client and server instances.
benchmark-jmh/src/jmh/java/org/conscrypt/OpenJdkEndpointFactory.java