Contracting to Compete for Flows