update websocket server to manage different kinds of robots and different kinds of connectors