Updates (and hints) to work with latest HTTP library.