Text this: Advances in stochastic epidemic modeling: tackling worm transmission in wireless sensor networks