[review] smtp v13

Work in progress branch for the SMTP logging, file extraction and mime decoding.

PR to use github review interface.

cc: @decanio @regit @glongo
Can nlen and vlen both be 0 at the same time?