Socialist gains thus far have been confined to cities and college towns that already are Democratic bastions.