Check for STARTTLS before attempting to use it.