Updated HostVerifier to take a Stirng and be null-safe to make using it tidier