Update CustomSocket.php