made IMAP INBOX case insensitive.
fixes IMAP4 server using IPv6 address on Windows.
added safe mode (don't load plug-ins).