avoid uninitialised res variable; don't cache any-to-tcp TC responses; ignore EDNS bufsize on TCP; also apply udp-truncation-threshold to non-EDNS questions