init socket.io with pod
add `add` and `remove` handlers