CAMEL-7254: Fix IMAP peeking, use simpleName() for classcheck

Signed-off-by: david <david@davidkarlsen.com>