separate thread processes messages from a queue in the proxy client layer