More ASIO stuff.

* Even more graceful termination!
* WritableStream is now actually working.