Refactored HostIpProvider