Client from a Layer. This client should handle the authorization for every request; the authorization is returned by an HTTP call and has a dynamic ttl returned in the response and needs to be used as a Bearer token in future requests.Request and set the Cache ttl based on the response. Using @effect/platform set the header. Using @effect/platform/HttpClient set the header in the request and reuse the http client SynchronizedRef and when the response is a 400, retry, get a new token and update the ref to reuse the token in other request.