[#26749 proxy] abstracted http access for use in auto update
minor moving of code