[tor-commits] [sbws/master] requests: refactor, set session attributes