Added ability to pull session id from XML result given by a successful login. Now logoffs and ping queries should work as expected. Ping query has been updated to always take in SID as a parm.