websocket server sends an id to client on connection