Http helper

Another move to make the hooks more consistent.