Text this: Modeling individual self-protective behavior during epidemics