Fixes #88 by introducing thread-safe BufferAllocator