static ClickHouseClient newInstance(ClickHouseProtocol... preferredProtocols) {
        return builder().nodeSelector(ClickHouseNodeSelector.of(null, preferredProtocols)).build();
    }
Creates a new instance compatible with any of the given protocols.

@param preferredProtocols preferred protocols
@return new instance compatible with any of the given protocols
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseClient.java