Changed variable names to allow compiling with c++

Changing the 'this' variables to session allows c++ code to link against libetcd.so