Regulating Infrastructure: Monopoly, Contracts, and Discretion