fixed IMAPAsyncConnection initialization, added helper methods