This code implements an automatic node selection mechanism to avoid always using a single node. It reuses the existing
_websocketUrlConnects to build this speed test function. The default behavior is set to ClosestFirst strategy, while using AsOrdered
maintains compatibility with the original approach. Using RANDOM_TEST_PROBABILITY = 0.02 to maintain a node testing frequency of
approximately once every 50 requests.