fix for multipart encoded forms

Patch for mulitpart encoding support.