Clean up how User-Agent is set
Evaluate _VALID_REQUESTS_ARGS only once