Adding support for DataURIs

Relates to https://github.com/mangui/HLSprovider/issues/229
Merge pull request #231 from aneebq/data-uri-support

Adding support for DataURIs