Abstracted http runner into a mixin so that Pipeline and Stage struct can use it.