Add command line `--test-tor` or similar to check Tor is working properly
While trying to improve the situation with #486 and improving the NixOS package, I got an idea that might be helpful for 3rd party maintainers. If we added a --test-tor
switch to the executable with the behavior of spinning up a TorWrapper
and making sure it can bootstrap, that could be used in CI pipelines to make sure they don't screw up things somehow. I got inspired by a PR on Github where I've seen that a bunch of pipelines have been started for the changes, not just for Linux but also for macOS and I would guess that all kinds of things could go wrong if they attempt to package custom tor binaries for macOS like the do on Linux: https://github.com/NixOS/nixpkgs/pull/245398#issuecomment-1650054652