A Cooperative Middleware for Enhancing TCP Performance over High Delay Networks