Implemented --max-redirects option

Added argument to argparse, changed client so that it uses a new
requests Session() with the number of redirects and a single test to
show the setting works.