1.remove the unnecessary State implementations
2.reorginaze the hierarchy of package
Codec now accept an ApplicationContext in constructor
Get instance of ApplicationContext from guice
a new InjectableExtension which let Implementation of it could get a
guice injector to initialize a object managed by guice
1.introduce shiro-guice module
2.refactor pom
SecurityManager now created by Guice
Since Realm binding is set via Guice, no need to set it in shiro.ini
introduce shiro-aop module for guice to use shiro annotations
fix a bug that server continue respond close stream even though the ssl
engine has been closed.
1.only guest can register a new account
2.clear XmppContext after closing stream