glooxwrapper

Wrapper around gloox to avoid ABI compatibility problems when gloox and
the game are built with different versions of VC++.
Build fix
Minor style concerns.