Now working on Windows. Includes a couple of critical fixes (like number of bytes to read and the string parsing).
Merge pull request #5 from pthedinger/master

Now working on Windows (plus some critical fixes).