Reset Parser _dataLength on errors and message ends
Merge branch '0.9-security-fix' into ori