add htt server hook