(#1576) - promise fixes for http