fix when setCleanSession(true) is invalided

fix when setCleanSession true is invalided ;because setCleanSession() do nothing and getCleanSession() method always return false;
Merge pull request #5 from gaobq/master

fix when setCleanSession(true) is invalided