Early life experiences affect the adaptive capacity of rearing hens during infectious challenges.