Nodejs based http with Promise