Break out http client component into a session object