A Multi-layer Cooperation Framework for QoS-aware Internet access in VANETs