use ntohl to fix some byte order bugs with InternetAddress code, and use direct in_addr { a } in mk_in_addr_