Add cli posthook of http server listen.