fix  ExtensionObject encoding/decoding,
add ActivateSession