added smtp log handler with tls support required for gmail interoperability
monitors nwi and restarts in "no-push" mode if nwi is not working
registers TlsSMTPHandler for logging module