Adjusted filterSocketsByUser for socket.io v1 (fixes #70)