Fix double free
Move socket_cb to jsonrpc_io