add 'max_redirects' to Session's __attrs__ to ensure proper serialization of Session
Merge pull request #1270 from makto/add_attr

add 'max_redirects' to Session's __attrs__