[Routing] add support for optional placeholders in the host #7306