imrpoved ipv4/ipv6 check. now always update ip, in case host changes IP. added a create_host() method for the HostForm.