private static void setProperties(com.yahoo.jdisc.http.HttpRequest clientRequest, Map<String, String> properties) {
        if (properties == null) return;

        for (Map.Entry<String, String> entry : properties.entrySet()) {
            clientRequest.parameters().put(entry.getKey(), wrap(entry.getValue()));
        }
    }
Create a new HTTP request from an URI.

@param container the current container instance
@param uri the request parameters
@param method GET, POST, etc
@param requestData the associated data stream, may be null
@param properties a set of properties to set in the request in addition to the implicit ones from the URI
@return a new HTTP request
container-core/src/main/java/com/yahoo/container/jdisc/HttpRequest.java