support to register http hook