Refactor extract helper method.
A simpler version of the same behavior.
Cache http classes per-host.
Enforce that the base environment is not an adapter.