Updated logging and tracing support

This pull will add support for the http header / environment variable enabled threading of tag, metadata, and stderr destination to the tc.