partial test for network sockets - doesn't work yet