Use lua_getmetatable to check userdata types for uv_handle and uv_stream userdata