Make tcp_connect accept input from lua