[WO-548] Implemented STARTTLS for smtpclient

Integration tests got upgraded automatically as smtpclient tries to upgrade the connection to STARTTLS whenever possible and this is supported by the test SMTP server.