Extract Http specific stuff into http interface module