[Reviewer: Mike] Retry memcached on failures if we only have one memcached server

Mike, you've already looked at this by email, but as I've moved it to cpp-common I thought I'd reconfirm.