Fixed infinite loop of MultipartBodyTest for master branch.
MultipartBody#read() returns -1 when it meets EOF.
Current MultipartBody#read() returns only 0 when it meets both Exception and EOF(endWritten). Then caller can't know whether the value is EOF or
Error.
Merge pull request #412 from carryel/master

Fixed infinite loop of MultipartBodyTest for master branch.