[addon attach] Implement auto-detaching on socket close/error
[addon attach] Implement auto-detaching on socket close/error

Tyriar/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js,xtermjs/xterm.js,xtermjs/xterm.js,cjordog/NRLWebsite,xtermjs/xterm.js,xtermjs/xterm.js,akalipetis/xterm.js,cjordog/NRLWebsite,rwos/xterm.js,akalipetis/xterm.js,Tyriar/xterm.js,Tyriar/xterm.js,akalipetis/xterm.js,sourcelair/xterm.js,Tyriar/xterm.js,Tyriar/xterm.js,sourcelair/xterm.js,akalipetis/xterm.js,sourcelair/xterm.js,rwos/xterm.js,cjordog/NRLWebsite,cjordog/NRLWebsite