Broke out functionality to get the host name of a device to keep with the new structure of using delegates