ftpserver.pl: Fixed processing of IMAP authentication strings
ftpserver.pl: Reworked unrecognised command responses

As the IMAP regex could fail and $1 would not contain the command id
updated the unrecognised command response to be more generic and
realistic (like those used in the command handlers).

Additionally updated the POP3, SMTP and FTP responses.