Refactor `SimpleHttpClient` to pull out a base class.