Make more robust when server doesn't support starttls