tests: Add a simple DNS server

This DNS server will be usable for testing. Currently only supports A
records.
tests: Add torture library from socket_wrapper

Pretty much a blatant copy of the torture library from socket_wrapper,
just s/echo_srv/dns_srv/
WIP: res_query test