protected ServerSocket createServerSocket(int nport, int backlog, InetAddress bindAddr,
      int socketBufferSize, boolean sslConnection) throws IOException {
    if (sslConnection) {
      throw new UnsupportedOperationException();
    }
    ServerSocket result = new ServerSocket();
    result.setReuseAddress(true);
    if (socketBufferSize != -1) {
      result.setReceiveBufferSize(socketBufferSize);
    }
    try {
      result.bind(new InetSocketAddress(bindAddr, nport), backlog);
    } catch (BindException e) {
      BindException throwMe =
          new BindException(String.format("Failed to create server socket on %s[%s]",
              bindAddr == null ? InetAddress.getLocalHost().getHostAddress() : bindAddr,
              nport));
      throwMe.initCause(e);
      throw throwMe;
    }
    return result;
  }
Overridable method for creating a server socket. Override this if you are implementing
SSL communications or otherwise need to customize server socket creation.
geode-tcp-server/src/main/java/org/apache/geode/distributed/internal/tcpserver/ClusterSocketCreatorImpl.java