Modifying the TCP Acknowledgement Mechanism: An Evaluation and Application to Wired and Wireless Networks