Content negotiation with Lighttpd and Lua