Rack middleware for LINK/UNLINK