A Data-Driven Framework for TCP to Achieve Flexible QoS Control in Mobile Data Networks