redesign http proxy session class, warning: the design has not completed, I commit this because I have to go home now