Changed read to read number of bytes rather than rely on NULL terminated strings
Merge pull request #1 from macumber/master

Changed read to read number of bytes rather than rely on NULL terminated...