Low-level native PHP code IMAP implementation.