Comparison was the wrong way around so hostname lookup always failed.
Also rework resolver's send format and convert test-tcp and nslookup to use getaddrinfo
userspace programs are now in userspace/programs userspace tests are now in userspace/tests This makes listing userspace projects much cleaner. Libraries were already separated to their own directory, so other programs should also.