Clinton wins endorsement of the AFL-CIO