Fixed parsing of empty multiparts

Fixes issue #13