Use browserify-compatible Buffer check instead of "instanceof". Added myself as author.