WIP: Sketch out multipart/form-data handling.

Committing for Sumana's reference. Most of the changes in this commit
are just comments.