memcache_dup_message
nRes = memcache_dup_message(pMsg, msgid, 1, &pCopy, NULL);
nRes = memcache_dup_message(pMsg, pMsg->lm_msgid, 0, &pCopy, &size);
static int memcache_dup_message(LDAPMessage *res, int msgid, int fromcache,