use connect-slashes middleware to add missing slashes when needed.
fixes #243