[addon attach] Implement auto-detaching on socket close/error
Bump Bower version to 0.19