ftpserver.pl: Fixed IMAP SEARCH command
ftpserver.pl: Added SELECT check to IMAP SEARCH command