changed request.country to request.hostname_prefix in optimal_rtt