Remove .writeStream, .consume and rewrite IOSink to correctly implement a (sane) well-defined behaviour of the .done future.

BUG=

Review URL: https://codereview.chromium.org//14028017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/http@21416 260f80e4-7a28-3924-810f-c04153c831b5
1 file changed
tree: e3524623b19aad8042b1d79efca2af93dbd88771
  1. lib/
  2. test/
  3. pubspec.yaml