WebSocketStream presents one WebSocket as a net.Conn carrying a single byte.
type WebSocketStream structWebSocketStream presents one WebSocket as a net.Conn carrying a single byte stream. A close frame is the stream's half-close: CloseWrite sends one and a normal close from the peer reads as io.EOF, while data still flows the other way until both sides have closed.