code: func NewReader(r io.Reader, s ws.State) *Reader {
  	return &Reader{
  		Source: r,
  		State:  s,
  	}
  }
docs: // NewReader creates new frame reader that reads from r keeping given state to
  // make some protocol validity checks when it needed.