hnetd: stability and bug fixes