Use StreamChannel.

This converts the constructors to take StreamChannels, and changes some
edge-case semantics to be more familiar to StreamChannel (and WebSocket)
users.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1652413002 .
14 files changed
tree: fdd11a5def6df452c7eb12d975f145916062ae50
  1. pkgs/