src: move and simplify canonize functionality to ConfFileProcessor

refs: #4817

Change-Id: I0a7f448f50994906d0403bcb97a3973dc1a25917
diff --git a/src/nlsr-runner.cpp b/src/nlsr-runner.cpp
index 57066e9..b5ff594 100644
--- a/src/nlsr-runner.cpp
+++ b/src/nlsr-runner.cpp
@@ -41,15 +41,7 @@
     BOOST_THROW_EXCEPTION(ConfFileError("Error in configuration file processing"));
   }
 
-  // Because URI canonization needs to occur before initialization,
-  // we have to pass initialize as the finally() in neighbor canonization.
-  m_nlsr.canonizeNeighborUris(m_nlsr.getAdjacencyList().getAdjList().begin(),
-                              [this] (std::list<Adjacent>::iterator iterator) {
-                                m_nlsr.canonizeContinuation(iterator, [this] { m_nlsr.initialize(); });
-                              },
-                              [this] {
-                                m_nlsr.initialize();
-                              });
+  m_nlsr.initialize();
 
   try {
     m_nlsr.startEventLoop();