Exception safety (files and http[s] sessions will be closed if exception is raised). Keep just one session per server/port/scheme tuple