So the mimelib header parser was causing issues