MDL-65743 lib: add XMPPHP namespace and update calls