Fix PGP/MIME detection in mozilla