Adding code changes for using proxy in request.