I would add that the US Military has a huge socialistic streak.
I used to wonder why certain people that I knew who joined would suddenly reappear after their training with a strange urgency to marry at the ripe old age of 20 or so. An enlisted friend then explained to me that by marrying, she got her own apartment vs the barracks, and got a raise in salary+ health care for the spouse and children.

I guess it helps increase the birthrate, but it sure sounds like socialism to me.