fixes: Remove sync scheduler; Use ndn::time; Passed all the test cases

Change-Id: I50e8cd94f71f463793e4d19d5bf65e190cac6e59
diff --git a/src/sync-socket.cc b/src/sync-socket.cc
index 259e730..cb41b30 100644
--- a/src/sync-socket.cc
+++ b/src/sync-socket.cc
@@ -28,6 +28,8 @@
 
 namespace Sync {
 
+using ndn::shared_ptr;
+
 SyncSocket::SyncSocket (const Name &syncPrefix, 
                         shared_ptr<Validator> validator,
                         shared_ptr<Face> face,
@@ -58,7 +60,7 @@
 
   Data data(dataName);
   data.setContent(reinterpret_cast<const uint8_t*>(buf), len);
-  data.setFreshnessPeriod(freshness);
+  data.setFreshnessPeriod(1000*freshness);
 
   m_keyChain->sign(data);