a very simple implemention of HttpServer