public static String convertTcpToHttpUrl(String connect) {
        String protocol = connect.contains(":" + DOCKER_HTTP_PORT) ? "http:" : "https:";
        return connect.replaceFirst("^tcp:", protocol);
    }
Return the value of the given environment variable or null if it is not set.
@param variableName name of the environment variable.
@return the value of the environment variable or null if it is not set.
src/main/java/io/fabric8/maven/docker/util/EnvUtil.java