Support max redirects to protect loop redirect
Release 0.5.0