This can cause issue when sockopts is ommited and tls is not used. Tested with SMTP without and with TLS cf #6665