Implementation of multipart/form-data that handles more imports and is more conformant