Fixed bug with enableCompression calling setOption instead of getOption

This was also generating a PHP Warning as getOption only accepts 1 parameter.