Moving imapfilter to the sz-misc::imapfilter class