add gen_server version http server.