Allow trailing slashes to be kept in order to conform to APIs that require them.

If you want to keep the trailing slash, you can pass the `keepTrailingSlash:true`
param in the http configuration object.