class oriented http server