Adds DefaultDockerClientConfig.Builder.withApiVersionAutoNegotiation(boolean)
(also exposed via DOCKER_API_VERSION_AUTO_NEGOTIATION env var and the
api.version.auto.negotiation property). When enabled and no explicit
api version is set, DockerClientImpl.getInstance(config, httpClient) queries
the daemon's /version endpoint and pins the client to
min(daemon ApiVersion, latest version known to docker-java). If that result
is below the daemon's MinAPIVersion, the daemon's minimum is used and a
WARN is logged - matching the behaviour of moby/client.NegotiateAPIVersion.
Default is off; existing callers see no change. The new
isApiVersionAutoNegotiationEnabled() method on DockerClientConfig is a
default-returning-false interface method, which japicmp already tolerates
via the project's METHOD_NEW_DEFAULT override.
Fixes docker-java#2547