short fix for #42
Merge pull request #42 from dannycoates/i42

Client parser hangs on certain input