Fix for parsing bug when Content-Type and boundary is duplicated in message body

Example failure: https://gist.github.com/grinich/9542057

This failed for about 150 out of a 300k mailbox.