Better logging in server.
Client now emulates telnet.