* Build HttpClient POST message.
*/
// Add all properties/parameters to credentials POST request.
HttpPost postMethod = new HttpPost(gatekeeperUrl);
Properties properties = gatekeeperMessage.encodeToProperties();
Iterator<Map.Entry<Object, Object>> propsIter = properties.entrySet().iterator();
List<NameValuePair> parameters = new ArrayList<NameValuePair>(properties.size());
while (propsIter.hasNext()) {
Map.Entry<Object, Object> entry = propsIter.next();
String fieldName = (String) entry.getKey();