Possible fix for #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 for some reason.

Quick and dirty but seems to work.