Revert "added promise chaining for http"

This reverts commit ef8d6d25e82f5683d586b4be3dd794cc51a1b932. Needs more tests