code: func NewEndorsementHandlerWithOpts(next Handler, provider TxnHeaderOptsProvider) *EndorsementHandler {
  	return &EndorsementHandler{next: next, headerOptsProvider: provider}
  }
docs: //NewEndorsementHandlerWithOpts returns a handler that endorses a transaction proposal