Replace parse_host with envy utility library envy_parse:host_to_ip.

This changes the config file to use ip_mode instead of enable_ipv6.