Use a generic function to parse Mime headers in messages.
Actually add the multipart analyzer.
Move #include <stdlib.h> into base.h.
Add a more complete and robust implementation to handle encodings.
Add debug message if decoder is not found.
Make sure no decoding is attempted if no bytes are available.
Set the correct related event and encoding on sub payloads.
Make sure no bytes are left in the input buffer when decoding.
Add decoder quoted-printable.
Set the encoding for RFC822 message body.
Replace sscanf() by atoi().
Add support for RFC2047, parsing encoding in mail headers.