ftpserver.pl: Moved SMTP EHLO and QUIT handlers in own functions