Refactore Multipart handling
Cleaned up body parsing and encoding handling