completed half of HttpServer