when-socket-ready

[procedure] when-socket-ready socket [handler]

STk: sets the handler to the socket. See make-client-socket, make-server-socket.