Add resolv.conf parser.
Add assertions to test.
Select random IO channel when sending request.