Add upload_image method.
Set middleware.
Add multipart_post method.
Minor fix.