refactor, docs for http-server