Extract Http4s into a trait.