Fix browserify support and rename the package since I no longer have access to the old one
Guard against endless loops in case of invalid input streams for the decoder, we now exit properly in case we detect a 'buffer overrun' during decoding and return 'undefined'