Some cleanup, improved error checks
Overhaul of multipart support

We're still not quite there, but at least basic multipart messages
are getting parsed correctly. Next step, callback for filtering
and proper formatting of data proplist.
Notes on multipart callback scheme