Just as a note. To make this less brittle, you can grab the version number from the auth response: https://github.com/Hexxeh/spotify-websocket-api/commit/daf4cb2f09f7a8c382bf0d60a9132551ea396c0b#diff-684a7972973ebd32bb65015e557286a2R212