[FIXED Jenkins 24551] improve DockerClient configuration

fixes [JENKINS-24551](https://issues.jenkins-ci.org/browse/JENKINS-24551) and an additional issue with _Test Connection_ updating the global `DockerClient` with unsaved values.