Fix captions in tests.
Simplify module structure, reduce the number of LOC.
Create event loop, bind resolver to the loop.
Change option prefix from --enable to --with.