server/state: Use thread-local storage to find out caller module in access_module()
server/state: Use thread-local storage to find out caller module in access_module()

celeron55/buildat,celeron55/buildat,celeron55/buildat,celeron55/buildat