s4 dns: Fix TCP handling in the DNS server