fixed bug in Pssocket constructor and favorite on/off should work