Fix backward compatibility with Lua 5.1 - coxpcall required...

Resolves "attempt to yield across metamethod/C-call boundary" errors when running Wsapi apps such as Orbit on Lua < 5.2