fixed unicode errors and "thread._local has no attribute 'host'"
This tag has no release notes.