data handler: add open method

Add open method to data handler object.  The exact purpose of this
method will vary by transport mechanism.

Change-Id: I3d1fa3914e010ac7590455ae3f948a1d9d5cee4b
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/data_handler.hpp b/data_handler.hpp
index 2df5b15..6c660c8 100644
--- a/data_handler.hpp
+++ b/data_handler.hpp
@@ -15,6 +15,14 @@
     virtual ~DataInterface() = default;
 
     /**
+     * Initialize data transport mechanism.  Calling this should be idempotent
+     * if possible.
+     *
+     * @return true if successful
+     */
+    virtual bool open() = 0;
+
+    /**
      * Copy bytes from external interface (blocking call).
      *
      * @param[in] length - number of bytes to copy