R4R: dns support

- [x] TCP Query Support
- [x] Timeout Logic
- [x] resolve.conf

fixed in fd92b5b