Moved some code to openccn_tlv_node.hpp and fixed an eror.