Updated luasocket from https://github.com/CapsAdmin/goluwa/blob/master/lua/platforms/standard/libraries/luasocket.lua