Use security flag to enable TLS or STARTTLS
Update manual
Refine log messages