Use mocked libevent for DNSResolver tests
dns.cpp: explain purpose of shortcut