Create rpcQueue.js

midlware requests queueing