code: public static String getServerFromBalancer(String balancerUrl,String applicationKey, Proxy proxy) throws IOException, InvalidBalancerServerException {
  		Matcher protocolMatcher = urlProtocolPattern.matcher(balancerUrl);
  
  		String protocol = protocolMatcher.matches() ? "" : protocolMatcher.group(1);
  
  		String parsedUrl = String.format("%s%s", protocol, balancerUrl);
  
  		if(!Strings.isNullOrEmpty(applicationKey)){
  			// CAUSE: Prefer String.format to +
  			parsedUrl += String.format("?appkey=%s", applicationKey);
  		}
  
  		URL url = new URL(parsedUrl);
  
  		String balancer = IOUtil.doGetRequest(url, proxy);
  		Matcher matcher = balancerServerPattern.matcher(balancer);
  		if (!matcher.matches()) {
  			throw new InvalidBalancerServerException(balancer);
  		}
  		return matcher.group(1);
  	}
docs: Retrieves an Ortc Server url from the Ortc Balancer
  
  @param balancerUrl
  The Ortc Balancer url
  @return An Ortc Server url
  @throws java.io.IOException
  @throws UnknownHostException
  @throws InvalidBalancerServerException