Implement sock_accept
and basic networking
#3711
Merged
sock_accept
and basic networking
#3711