added support for "port" and "ssl" parameter on MailCollector