remove trailing slash from broker url