Improve CGILua server variable reading