Implement cookie management for protected HLS streams
Currently, VLC cannot be used for protected HLS streams from several major providers (for example, NeuLion) who implement in the following way:
- The HLS playlist file (*.m3u8) sets a cookie when fetched.
- Segments in the playlist have a URL referencing a key server in their #EXT_X_KEY URL attribute. The key server is on the same domain, different subdomain.
- The request to fetch the key from the key server requires the cookie provided with the .m3u8 file to be included in the request to the key server.
This is my first VLC ticket, so please refile properly if incorrect.