Implemented support for the IMAP IDLE command.

Fixes issue #61