Fix handling URIs with trailing slashes

This fixes #826
Setting StrictSlash = true enables a URI of the form /something/ to be redirected to /something (and vice versa)