Text this: Detection and avoidance technique of anomalous congestion at the network gateways