We did not transmit the right 'local' socket address to Lua for TCP/IP queries in the recursor. In addition, we
would attempt to lookup a filedescriptor that wasn't there in an unlocked map which could conceivably lead to crashes. Closes #1828, thanks Winfried for reporting