Bug 921314 buffer parity with node.js API
Merge pull request #1252 from jsantell/fix-buffer

Bug 921314 buffer parity with node.js API, r=@gozala