Text this: International legitimacy and the politics of security