Overhaul hidden service authorization.

fix typo.
Rename s/UI/TorChat/g.
Move TorChat type to Protocol.