Make send buffer a lua table
Retry quickly if we're shutting down.
Prepare stream buffer on retry.

This allows to send messages which arrived while we were sleeping before
retrying.
Don't bother sleeping if we are exiting.
Merge pull request #9 from mixlr/feature/prepare_buffer_on_retry

Prepare stream buffer on retry.
Merge pull request #8 from mixlr/feature/quick_retry_on_shutdown

Retry quickly if we're shutting down.
Merge branch 'master' into bug/unix_socket

Conflicts:
	lib/resty/logger/socket.lua
Merge remote-tracking branch 'upstream/send_buffer_table' into bug/unix_socket

Conflicts:
	lib/resty/logger/socket.lua