asio::queued_writer::close() refactoring.
asio::buffer_connection::close() refactoring.
asio::queued_writer::terminate() implementation.
asio::buffer_connection::terminate() implementation.