Express/Connect middleware to set response headers based on globs