Agent for term.js to talk to a Docker container TTY over a WebSocket