dom/node_set: use Native.convert instead of Native.try_convert
socket: fix creation on WebKit