Set the ClassLoader on the Session object before sending shared object