dockerclient minimally functional docker http client that knows about basic and bearer auth; used by regstat and retag