mime header parser

see: https://github.com/dinhviethoa/libetpan.node/pull/5