Support new arg for NewDockerClient
Refactoring for adding the http library