Fix thread local headers to store a copy of the default hash.

This was resulting in active_session in one thread causing the access token
to be modified in all thread, since the same headers hash was used despite
being assigned to a thread-local variable.
Release v1.0.7