code: public static Map<String,String> httpMessagingConfiguration( String ip, int port ) {
  
  		final Map<String,String> result = new LinkedHashMap<>();
  		result.put( MessagingConstants.MESSAGING_TYPE_PROPERTY, HttpConstants.FACTORY_HTTP );
  		result.put( HttpConstants.HTTP_SERVER_IP, ip == null ? HttpConstants.DEFAULT_IP : ip );
  		result.put( HttpConstants.HTTP_SERVER_PORT, "" + (port <= 0 ? HttpConstants.DEFAULT_PORT : port));
  
  		return result;
  	}
docs: Return a HTTP messaging configuration for the given parameters.
  @param agentPort the HTTP server port of the agent.. May be {@code null}.
  @return the messaging configuration for the given parameters.