imap fixes; imap server initialization tweak (removed some platform dependent stuff and starting in preauth state)