'Get the hostname of the remote.'

def setup(self):

    response = self.json_request({'command': 'serverinfo'})
    if response:
        if (self._name == self._host):
            self._name = response['info']['hostname']
        return True
    return False
