Implementation of control flags in asynchronous DNS query API

Flags definitions are in multinetwork.h

Test: built, flashed, booted
      system/netd/tests/runtests.sh passes

Change-Id: Iab1983b783d1470bc1cf23489abbef7a2d88e860
diff --git a/resolv/res_query.cpp b/resolv/res_query.cpp
index f81b33e..4ae13bf 100644
--- a/resolv/res_query.cpp
+++ b/resolv/res_query.cpp
@@ -140,7 +140,7 @@
         *herrno = NO_RECOVERY;
         return n;
     }
-    n = res_nsend(statp, buf, n, answer, anslen, &rcode);
+    n = res_nsend(statp, buf, n, answer, anslen, &rcode, 0);
     if (n < 0) {
         /* if the query choked with EDNS0, retry without EDNS0 */
         if ((statp->options & (RES_USE_EDNS0 | RES_USE_DNSSEC)) != 0U &&