add content-type parameter for char-stream data in multipart/form-data

add content-type parameter for char-stream data in multipart/form-data &
fix bug of writing wrong last boundary
Merge pull request #228 from coffeesherk/master

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