The federation has a veneer of socialism because things like food, housing, and clothes are virtually worthless in their society due to a stable population and near-zero cost. Once you get outside their massively over-producable commodities they have to trade like anyone else.
Also lets not...