[tor-commits] [tor/master] Add public_server_mode function.