Research code for supporting sessions in NDN