code: func newWebsocketChannel(conn *Conn, num byte, read, write bool) *websocketChannel {
  	r, w := io.Pipe()
  	return &websocketChannel{conn, num, r, w, read, write}
  }
docs: // newWebsocketChannel creates a pipe for writing to a websocket. Do not write to this pipe
  // prior to the connection being opened. It may be no, half, or full duplex depending on
  // read and write.