Stress controls the mechanics of collagen networks