updated SocketIOController to work with Scala 2.10