Refactor and rename tor-retry

See comments in design notes section in lib.rs comment.