first set of rpl fixes

set of small fixes which make rpl_udp more stable and robust