Sockets are officially specified in wasip1: https://wasi.dev/releases/wasi-p1
Notably, listen and connect are missing. But sockets themselves were in there.