Use enum class for AuthMode and Extension flags
Use ProxySettings::DirectConnect for sockets for SMTP until an option in settings arrives