Advances in ecological immunology