Adds command history to the web socket client