[tor-commits] [stem/master] Refactor and move layer encryption