ndnSIM: NS-3 based NDN simulator