Hi,
I met this in the LuaSocket library. And promptly used libhttpd instead (after extending it to use connection timeout) since LuaSockets seems to have everything but the kitchen sink.
Did you want the kitchen sink? Regards, Diego.