Optimized HLS fetch routine