First attempt at SocketIO support