client.js, focus user input on any click
clean up telnet code translation in relay.rb
buffer unterminated ansi codes and escape html entities in client.js