Encapsulate the Handshake and HttpSession a bit better