Changed string parsing to use the Buffer class

I changed the string parsing to use the Buffer class in node.js. This will of course make groan dependent on node.js so you might not want to include this or find another solution that aslo works in browsers.