Created a socketManager variable to hold what is returned from sio.liste...

We had been reusing the sio variable for two different types of object.  I think that would have led to confusion.

@mlevan and @jessmartin would you mind reviewing?