Lua module for manipulating URIs