Multipart writer fixes:

* Don't send final crlf, it's not in the standard and doesn't work with 1.3
* Assert on size of multipart stream