Added comments and test HttpServer