Context-Aware Resource Allocation for Media Streaming: Exploiting Mobility and Application-Layer Predictions