Rebased by hand to iolib head. Does not work yet, just the files comitted...
initial work on reviving the socket.cc stuff