Function Connection.consumeInput

If input is available from the server, consume it

void consumeInput();

Useful only for non-blocking operations.