Implemented the RENAME imap command.