support socket.io v1 socket.handshake data via socket.request

I was trying to use socket-io.sessions with passport.socketio and noticed that it didn't seem to support socket.io v1 properly.   Seems like passport.socketio was modified in this commit: https://github.com/jfromaniello/passport.socketio/commit/a8bc6293edc276048ed1612a76b3aa5381d033ac#diff-6d186b954a58d5bb740f73d84fe39073