In a hostile trading world, mid-sized nations are forging new relationships. Canada has the right idea.