resolver interface for coro.socket
install the resolver in dns/cache.py