Patched code to work with http-conduit-2.x.