Httpclient lifecycle

Cookies can be associated to an endpoint so that session cookies are reused