resource_script_demo needs '/' in the pattern
Parameter checking for all Lua functions
Add get_cookie to Lua