Revert "luasocket: incompatible with lua-5.2; remove it."

This reverts commit f18a9e0fbdf4b61b95c5bf91a5067d372bba53c7.
lutok: needs lua51.
luasocket: needs lua51.