Move telnet control code sending to more logical place.