consul: Adding support for optional session name