Checks the return parameters generating new proxy instances to
        avoid query concurrences from shared proxies and creating
        proxies for actors from another host.

def loads(self, param):
        '''
        Checks the return parameters generating new proxy instances to
        avoid query concurrences from shared proxies and creating
        proxies for actors from another host.
        '''
        if isinstance(param, ProxyRef):
            try:
                return self.lookup_url(param.url, param.klass, param.module)
            except HostError:
                print "Can't lookup for the actor received with the call. \
                    It does not exist or the url is unreachable.", param
                raise HostError(param)
        elif isinstance(param, list):
            return [self.loads(elem) for elem in param]
        elif isinstance(param, tuple):
            return tuple([self.loads(elem) for elem in param])
        elif isinstance(param, dict):
            new_dict = param
            for key in new_dict.keys():
                new_dict[key] = self.loads(new_dict[key])
            return new_dict
        else:
            return param