http: make end_url_with_slash() public