update input_tcp_test to reflect new way of sending messages