okapiUrl may be https://folio.example.com/okapi
The constructors of HttpModuleClient, HttpModuleClient2, HttpClientFactory and HttpClientMock2 that take host and port only have these deficiencies:
- They always set scheme=http, they cannot handle https
- They make it likely that programmers inadvertently forget to prepend the okapiUrl path "/okapi" to the endpoint parameter.
Constructors that take the full okapiUrl are already there (parameter absHost).
Deprecate the host+port constructors and update the documentation to endorse the full okapiUrl usage.