add history for http server/client