Added multipart POST support

This pull request enables multipart POST requests for uploading files and such (in my case, posting to the sendgrid.com mail api for emailing with attachments)