private String getPathAndQuery(URI pEndpoint) {
        return pEndpoint.getPath() +
                (pEndpoint.getQuery() == null || pEndpoint.getQuery().isEmpty() ? "" : "?" + pEndpoint.getQuery()); //$NON-NLS-1$ //$NON-NLS-2$
    }
A Vert.x based implementation of {@link IHttpClientComponent}. Ensure that
{@link IHttpClientRequest#end()} is called after writing is finished, or your data may never be sent, and
the connection will be left hanging.

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