socket: return the proper socket during accept!
socket: resiliency work
tests: add echo-server for testing sockets