Parse multipart boundary from Content-Type headers containing extra semicolons.

Fixes #412