Add support for pipelining queries

Test: All tests are passing and looks good in wireshark.
Bug: 63448521
Change-Id: I59c348f2104bc464d8c44dc46d8c839d0050ae2a
diff --git a/server/dns/DnsTlsSocketFactory.h b/server/dns/DnsTlsSocketFactory.h
index 9c597a0..68c35cc 100644
--- a/server/dns/DnsTlsSocketFactory.h
+++ b/server/dns/DnsTlsSocketFactory.h
@@ -25,6 +25,7 @@
 namespace android {
 namespace net {
 
+class IDnsTlsSocketObserver;
 class DnsTlsSessionCache;
 struct DnsTlsServer;
 
@@ -32,8 +33,9 @@
 class DnsTlsSocketFactory : public IDnsTlsSocketFactory {
 public:
     std::unique_ptr<IDnsTlsSocket> createDnsTlsSocket(const DnsTlsServer& server, unsigned mark,
+                                                     IDnsTlsSocketObserver* _Nonnull observer,
                                                      DnsTlsSessionCache* _Nonnull cache) override {
-        auto socket = std::make_unique<DnsTlsSocket>(server, mark, cache);
+        auto socket = std::make_unique<DnsTlsSocket>(server, mark, observer, cache);
         if (!socket->initialize()) {
             return nullptr;
         }