ipaddr: oprava bugu a refactor toReverseHost