fix edns subnet option code at 8
use correct luaL_openlib replacement for 5.2, fixes #1353