Added tests and code to spurg out the threadid to the http caller.