Network framework looks intriguing. It seems to be C-only. Would love if this became available cross-platform as a common baseline instead of sockets.