Bug 451636 - [http] update to the latest R6 API