added some example code to serve http pages