Fixed bugs, added PHP Client example