Improves MultipartRequest so that it's more resilient against accidental misuse.
Fixes bad comparison in Map.Entry implementation in CompactMap.