example http daemon which includes complete api support.