fix masive memory leak caused by unnecessary reinstantiating file-magic on each call; make parsing policy configurable; downgrade policy in case of parsing trouble where we parse all extra headers
fix masive memory leak caused by unnecessary reinstantiating file-magic on each call; make parsing policy configurable; downgrade policy in case of parsing trouble where we parse all extra headers

sim0nx/eml_parser,GOVCERT-LU/eml_parser