Resistance is futile? Mucosal immune mechanisms in the context of microbial ecology and evolution