now handling all message types in PLSocketServer