code: func (fw *Framework) NewSecureRequest(request protocol.Request) (secure protocol.SecureRequest, err error) {
  	switch request.Version() {
  	case protocol.RequestV1:
  		secure, err = v1.NewSecureRequest(request, fw.security)
  	default:
  		err = fmt.Errorf("Do not know how to create a SecureReply from a Request with version %s", request.Version())
  	}
  
  	return
  }
docs: // NewSecureRequest creates a new SecureRequest with the given Request message as payload