Memoize the shared_secret and pass to the development and production clients

wip