URL shortening service provided via connect middleware