Manage workspace events based in its type
Send shell connected notification to client
Add javascript logic to change the state of shell buttons
Send disconnect shell request