Rewrite spotify to use libevent for better reliability