Fix streaming updates (limit writing so it doesn't go over block size)

`test/vectors.js` now passes (as does the example I had problems with in https://github.com/dominictarr/crypto-browserify/issues/9)