changed visibility to parseHttpStatus to protected; added method getRedirectCount