Update PluginSocket.php