private ConnectionServer setupServer() {
        ConnectionServer server = new ConnectionServer(
                serverProperties.getHost(),
                serverProperties.getPort(),
                serverProperties.isPortAutoIncrement(),
                serverProperties.getPortCount(),
                serverProperties.getSsl(),
                conn -> {
                    TurmsConnection connection =
                            new TurmsConnection(null, conn, false, newMemberConnectionListeners());
                    onMemberConnectionAdded(null, connection);
                });
        server.blockUntilConnect();
        return server;
    }
Use supplier rather than just listener so that we can bind each generated listener to a
specific TcpConnection to make logic simple
turms-server-common/src/main/java/im/turms/server/common/infra/cluster/service/connection/ConnectionService.java