Fix parsing long responses
Merge pull request #9 from jgec/master

Fix parsing long responses