Changed rnot helper to correctly decode two_part_receive
Removing memory leaks
Host recognition