Add performance timing to http server functions