change unix socket factory behaviour to match the expectations of the docker-client/gradle-docker-plugin