For breakaway territories, quasi-states and would-be secessionists, diplomacy is hard – but not impossible