docs: public String toEncodedString(Properties args) {
          StringBuffer sb = new StringBuffer();
          try {
  			if (args != null) {
  			    String sep = "";
  			    Enumeration<?> names = args.propertyNames();
  			    while (names.hasMoreElements()) {
  			        String name = (String)names.nextElement();
  			        sb.append(sep).append(URLEncoder.encode(name, Constants.URL_ENCODING)).append("=").append(
  			                  URLEncoder.encode(args.getProperty(name), Constants.URL_ENCODING));
  			        sep = "&";
  			    }
  			}
  		} catch (UnsupportedEncodingException e) {
  			e.printStackTrace();
  		}
          return sb.toString();
      }