Twitter has refined its technology to censor messages on a country-by-country basis, raising fears that the company’s commitment to free speech may be weakening.