use ndn::ip::address(V6)FromString for scope-id aware conversion

Change-Id: Ifdc31771b8a990867c0a79ba42b71c87a97bcd56
Refs: #1428
diff --git a/daemon/face/websocket-factory.cpp b/daemon/face/websocket-factory.cpp
index 9572216..6a87563 100644
--- a/daemon/face/websocket-factory.cpp
+++ b/daemon/face/websocket-factory.cpp
@@ -25,6 +25,8 @@
 
 #include "websocket-factory.hpp"
 
+#include <ndn-cxx/net/address-converter.hpp>
+
 namespace nfd {
 namespace face {
 
@@ -141,7 +143,7 @@
 shared_ptr<WebSocketChannel>
 WebSocketFactory::createChannel(const std::string& localIp, const std::string& localPort)
 {
-  websocket::Endpoint endpoint(ip::address::from_string(localIp),
+  websocket::Endpoint endpoint(ndn::ip::addressFromString(localIp),
                                boost::lexical_cast<uint16_t>(localPort));
   return createChannel(endpoint);
 }