added X-Thread header usage