support http hooks: on_connect/close/publish/unpublish/play/stop.