use single formatter per thread
Merge pull request #543 from darkv/h2_patch

use single formatter per thread