impl http astream using the aicp http interfaces