Connect middleware for the fuse library