tweak dependency
allow Client to be injected Provider and HttpClient on constructor