Fixes for an upcoming 1.10
Fixes for the http class.