fix starttls logic
2.4.2