Text this: On Consensus and Stability under Denial-of-Service Attacks