Heterogeneous host-pathogen encounters: act locally, think globally.