Fix the luaopen_socket_core loader