anchor.diff:          }
   
           //forwarding original request
  -        HttpURLConnection con = forwardToServer(request, addTokenToUri(uri, token), postBody);
  +        HttpURLConnection con = forwardToServer(request, addTokenToUri(requestUri, token), postBody);
   
           if ( token == null || token.isEmpty() || hasClientToken) {
               //if token is not required or provided by the client, just fetch the response as is:
  
positive.code:                 _log(Level.INFO, "Renewing token and trying again.");
                  //server returned error - potential cause: token has expired.
                  //we'll do second attempt to call the server with renewed token:
                  token = getNewTokenIfCredentialsAreSpecified(serverUrl, uri);
                  con = forwardToServer(request, addTokenToUri(uri, token), postBody);
  
                  //storing the token in Application scope, to do not waste time on requesting new one until it expires or the app is restarted.
                  synchronized(this){
  
negative.code:                                     String rateLimit = ProxyConfig.getAttributeWithRegex("rateLimit", server);
                                      String rateLimitPeriod = ProxyConfig.getAttributeWithRegex("rateLimitPeriod", server);
                                      String tokenServiceUri = ProxyConfig.getAttributeWithRegex("tokenServiceUri", server);
                                      String hostRedirect = ProxyConfig.getAttributeWithRegex("hostRedirect", server);
  
                                      serverList.add(new ServerUrl(url, matchAll, oauth2Endpoint, username, password, clientId, clientSecret, rateLimit, rateLimitPeriod, tokenServiceUri, hostRedirect));
                                  }
  
                                  config.setServerUrls(serverList.toArray(new ServerUrl[serverList.size()]));
  