added ability to create docker client from http.Client