buffer: use realloc func to grow buffer when necessary.
api: include mongoc-stream-buffered in api.
tests: add basic buffered stream test to ensure buffer growth.