Refactoring of HTTPSession to make it testable, prior to starting to write unit tests for everything.  TEST ALL THE THINGS!!!!!