New hton_in_addr() function

To silence warnings in struct in_addr assignments on Solaris, whose struct
in_addr definition is a monstrosity.