Fixed for #409 "MultipartBody generates wrong body bytes" and added the ...

Proposed patch based on ahc-1.7.x branch.

Current sources may be failed in MultipartBodyTest.java so you can reproduce this issue with the testcase.
If you need the patch based on master, please let me know!