More lenient proxy selection algorithm.