Enable PoW defenses for hidden services that we create via Tor Control using the ADD_ONION
command.
The ability to do that has been added in tor-0.4.9.2-alpha. Previous versions return a syntax error to the ADD_ONION
command with PoWDefensesEnabled=1
, so the approach here is to try with PoW and if we get syntax error, then retry without PoW.
Also update doc/tor.md
with a hint on enabling PoW on manually configured Tor hidden services.