Default Content-Type to multipart/form-data when using parts, close #1587