Cassandra beta protocols are skipped when using the DSE driver, connecting to a Apache Cassandra v4.0.0 server, and applying the beta protocol to the cluster instance (cass_cluster_set_use_beta_protocol_version()).
Example of protocol negotiation skipping v5-beta
Don't bring this change over:
https://github.com/riptano/cpp-dse-driver/blame/master/cpp-driver/src/protocol.cpp#L99-L105
Instead of changing the protocol negotiation I recommend the following approach:
1) Make the default protocol DSEv2 and remove it from the beta status (update comments in `cassandra.h`)
2) `cass_cluster_set_use_beta_protocol_version()` should use `CASS_PROTOCOL_VERSION_V5` (update comments in `cassandra.h`)
3) Inherit the existing protocol negotiation from the DSE driver and remove `DSE_NEWEST_BETA_PROTOCOL_VERSION`