Heavy code rewrites to move code from the actual Framework into the new
Request, Response and Session classes.