plugins.hitbox: Refactor to use the StreamMapper.

Also add support for HLS streams.

Resolves #648.