refactor(resolver): minor refactor and remove unused code
refactor(http)