Fixed the params and headers and cancel function changes in Http.hx for Haxe 3.1.1 or later.