https://rt.cpan.org/Public/Bug/Display.html?id=62550

Added loop breakout when chunk array is empty. This solves
the problem of corrupted bencoded strings from sending the
module into an infinite loop.