Implement static default WireFormat, and initialize to BinaryXmlWireFormat
diff --git a/ndn-cpp/encoding/WireFormat.cpp b/ndn-cpp/encoding/WireFormat.cpp
index 39d2e11..056b789 100644
--- a/ndn-cpp/encoding/WireFormat.cpp
+++ b/ndn-cpp/encoding/WireFormat.cpp
@@ -5,10 +5,16 @@
#include <stdexcept>
#include "WireFormat.hpp"
+#include "BinaryXMLWireFormat.hpp"
using namespace std;
namespace ndn {
+
+ptr_lib::shared_ptr<WireFormat> WireFormat::initialDefaultWireFormat_(newInitialDefaultWireFormat());
+
+WireFormat *WireFormat::defaultWireFormat_ = initialDefaultWireFormat_.get();
+
ptr_lib::shared_ptr<vector<unsigned char> > WireFormat::encodeInterest(const Interest &interest)
{
throw logic_error("unimplemented");