Refactor Http.fetch