code: func initAcceptFromNonce(dst, nonce []byte) {
  	if len(dst) != acceptSize {
  		panic("accept buffer is invalid")
  	}
  	if len(nonce) != nonceSize {
  		panic("nonce is invalid")
  	}
  
  	sha := acquireSha1()
  	defer releaseSha1(sha)
  
  	sha.Write(nonce)
  	sha.Write(webSocketMagic)
  
  	var sb [sha1.Size]byte
  	sh := uintptr(unsafe.Pointer(&sb))
  	sum := *(*[]byte)(unsafe.Pointer(&reflect.SliceHeader{
  		Data: sh,
  		Len:  0,
  		Cap:  sha1.Size,
  	}))
  	sum = sha.Sum(sum)
  
  	base64.StdEncoding.Encode(dst, sum)
  }
docs: // initAcceptFromNonce fills given slice with accept bytes generated from given
  // nonce bytes. Given buffer should be exactly acceptSize bytes.