add content-type parameter for char-stream data in multipart/form-data & fix bug of writing wrong last boundary

1. when I modify the code mentioned in #226. I find it writes wrong last boundary ("--XXXXX" instead of "--XXXX--").
2. add `Content-Type` for text parameters in multipart/form-data request for supporting utf-8 characters such as Chinese