Add enableCompression method. Turns on compression on the connector.