I'm thinking of writing something similar in C# since it's relatively simple. I'll just create a local queue, which shouldn’t be an issue given the language's performance. Have you exposed your thing over wss:// or is it kept internal?