Add socket\observer, add id as agument of socket::write().