Optimizations

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge branch 'master' of github.com:kontalk/tigase-extension