add tcp client input facility