protected String buildURL(String action,Node remote,Node local,String securityToken,String registrationUrl) throws IOException {
  String url=addSecurityToken((resolveURL(remote.getSyncUrl(),registrationUrl) + "/" + action),"&",local.getNodeId(),securityToken);
  log.debug("Building transport url: {}",url);
  return url;
}

protected String buildURL ( String action , Node remote , Node local , String securityToken , String registrationUrl ) throws IOException { String url = addSecurityToken ( ( resolveURL ( remote . getSyncUrl ( ) , registrationUrl ) + "/" + action ) , "&" , local . getNodeId ( ) , securityToken ) ; log . debug ( "Building transport url: {}" , url ) ; return url ; }
build a url for an action . include the nodeid and the security token .
