[tor-commits] [flashproxy/master] fix a bug in get_reg and fix tests to be able to expose that bug