Added --cookie and --user-agent switches

Hi popcornmix,

I'm not sure if these small changes are suitable for merging, but they were required for my use case: appropriate Cookie and User-Agent headers need to be set to access certain HLS media streams.

Thanks for all your hard work!

Cheers,
Samir