Initiate a encrypted session before authentication

fix error "530 5.7.0 Must issue a STARTTLS command first".