Send commands to the writer asynchronously.
Don't assume that calling basic.publish will explode, that only really worked by coincidence.
Flow control. Conveniently the amqp_channel already knows how to handle bump_credit due to its use in the direct client.
Don't do flow control if we didn't ask for it, and a small refactor
Only catch "benign" errors.
with_exit_handler/2 did not do what I thought it did.
Flush the writer under all circumstances when we are terminating.
Merge default
Reduce distance to default and number of unused variable warnings...
merge bug25804 into default