private void decodeParms(String parms, Properties p)
				throws InterruptedException {
			if (parms == null)
				return;

			StringTokenizer st = new StringTokenizer(parms, "&");
			while (st.hasMoreTokens()) {
				String e = st.nextToken();
				int sep = e.indexOf('=');
				if (sep >= 0)
					p.put(decodePercent(e.substring(0, sep)).trim(),
							decodePercent(e.substring(sep + 1)));
			}
		}
Decodes parameters in percent-encoded URI-format ( e.g.
"name=Jack%20Daniels&pass=Single%20Malt" ) and adds them to given
Properties. NOTE: this doesn't support multiple identical keys due to
the simplicity of Properties -- if you need multiples, you might want
to replace the Properties with a Hashtable of Vectors or such.
selendroid-standalone/src/test/java/io/selendroid/standalone/server/support/NanoHTTPD.java