server: fix bug on-close in wrong place
rename send-response to respond
use json.cl2
update client with new socket.cl2 api
server: update new socket-cl2 api
update socket-cl2