Sync with Kinetic C++: Adding timeout to ckinetic client and updated the use of the iterator (now integrated upstream)