[tor-commits] [tor/master] string: add BOM helper