Fork http://code.google.com/p/xmpphp/ without some bugs