Endogenous Specialization and Dealer Networks - Stockholm School of Economics