Fixed a bug that caused infinite redirections if the response contains a Location header pointing to itself (try it against http://google.com/robots.txt to test it)