lua-httpd provides a shared library that
implements simple networking primitives which can
then be used from within your own Lua scripts. As
well as the shared library, there is a simple
sample HTTP server (with virtual host support),
demonstrating how the library can be used.