implement retrymiddleware to use another http proxy