public static ApiRequest buildRequest(HttpServerRequest req, boolean isTransportSecure) {
        ApiRequest apimanRequest = new ApiRequest();
        apimanRequest.setApiKey(parseApiKey(req));
        apimanRequest.setRemoteAddr(req.remoteAddress().host());
        apimanRequest.setType(req.method().toString());
        apimanRequest.setTransportSecure(isTransportSecure);
        multimapToMap(apimanRequest.getHeaders(), req.headers(), IGNORESET);
        multimapToMap(apimanRequest.getQueryParams(), req.params(), Collections.<String>emptySet());
        parsePath(req, apimanRequest);
        return apimanRequest;
    }
Construct {@link ApiRequest} and {@link ApiResponse} objects from {@link HttpServerRequest},
{@link HttpServerResponse} and {@link HttpClientResponse}

@author Marc Savy {@literal <msavy@redhat.com>}
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/http/HttpApiFactory.java