Move request threadlocal extraction for Django into Client