Network services : congestion, investment, and contracting