JsonClient changes

Modified JsonClient to pull HttpClient from DependencyResolver or, if
not present, use the default HttpClient(). This way you can inject
ModernHttpClient.