Added u8_threadid
Fixed bug with repeated installs of encoding links
Made logging use new u8_threadid()
Improvements to server instrumentation