Text this: Optimal and Nonlinear Dynamic Countermeasure under a Node-Level Model with Nonlinear Infection Rate