spotify: fix lint
spotify: emit "open" and "close" events

Corresponds to the internal WebSocket socket connection.