Allow using RequestContext in a client

A client can start tracing and it needs to install a thread local RequestContext. In this case it just happens in the thread the client is running.