Gravar-mail: Traffic optimization at the application layer - a cooperative approach: the tussle between applications and the physical network infrastructure, and the Application-Layer Traffic Optimization (ALTO) system as solution