add handling og addnodesrequest and addreferences, not tested but compiles