ftpserver.pl: Added support for IMAP CLOSE and EXPUNGE commands