optimized client input sending