Send FLUSH after every message except SYNC

This is in accordance with the protocol docs, and ensures the server
sends back its responses straight away.