began to fix the upload progress... it's tricky to compute the content-length of the multipart body