support for user-specified encryption keys and IV from playlist

Hello,

Hope I'm doing this right, this is my first pull request.

Cheers,

Laurent