Drawing shapes over web sockets