(Fix) Corrected bugs in createSession() method.
(Fix) Corrected bugs in createSession() method.

dateutli/hackdfw,ulimartinez/hackdfw,ulimartinez/hackdfw,tropo/tropo-webapi-php,ulimartinez/hackdfw,ulimartinez/hackdfw,dateutli/hackdfw,dateutli/hackdfw,dateutli/hackdfw