Possible fix for Issue #85

For some reason, the package.loaded table had userdata in it which we weren't expecting. This occurs if the luasocket modules couldn't be loaded.

Quick and dirty but seems to work.