remove buffer, make it thread-safe
Merge github.com/davies/priochan