Utilities for parsing and downloading HLS playlists and streams