No. `http_uri` was the first thing I've tried. It is very limited. It can't resolve relative URIs against given base ones, and, in fact, doesn't know a thing about relative URIs. It throws exceptions if the URI scheme is unknown to it. It's useless.