static String stripTrailingSlash(String url) {
        int last = url.length();
        while (url.charAt(last - 1) == '/') {
            --last;
        }
        return url.substring(0, last);
    }
Create a new access for the given URL

@param baseUrl  base URL for accessing the docker Daemon
@param certPath used to build up a keystore with the given keys and certificates found in this
                directory
@param maxConnections maximum parallel connections allowed to docker daemon (if a pool is used)
@param log      a log handler for printing out logging information
src/main/java/io/fabric8/maven/docker/access/hc/DockerAccessWithHcClient.java