[tor-commits] [stem/master] Protocol error tests and fix