add 'max_redirects' to Session's __attrs__ to ensure proper serialization of Session