fixed return type for ClientInterface::getListener