Updated to allow socket.io to use flashsockets