Save WebSocket protocol from handshake
Cleaner main()
Fix os.mkpath
If process_events returns timeout 0, run again

As per libspotify examples.
Remove SIGINT and at exit handler

We should only logout during a controlled exit. SIGINT breaks the select connection, and also we shouldn't do complicated things in the signal handler itself (apparently), there were a lot of issues in this code that I was finding.