[common] add helper method to extract akamai m3u8 and f4m formats