Added connection boolean in GlydarClient.
Split compression and setting, don't double compress.