Fix effective_url test

As of curl 7.30.0 (commit https://github.com/bagder/curl/commit/e4b733e3f1a7), a trailing slash is appended to the url if it's missing. This makes the effective_url test pass for all versions of curl.