import COUCHDB-1953 fix

fix mime multipart parsing:

https://github.com/apache/couchdb/commit/6fd38404137e2c61f9eb915c52caaea8c9a643e6