simplified HttpServer implementation