encode URI component in ServiceHooks.subscribe_service_hook