Better encoded signature support

- support of more encoded signatures, based on yt-dl.org (https://github.com/rg3/youtube-dl)
- use croak in consistent way