[tor-commits] [tor/master] string: add string_is_utf8() helper