Improved arg parsing for FTP/SMTP