Fixed bug with enableCompression calling setOption instead of getOption

This was also generating a PHP Warning as getOption only accepts 1 parameter.
Merge pull request #7 from h1ppo/0.2

Fixed a bug in enableCompression method
Merge pull request #8 from AlekseyKorzun/master

Merging to master to 0.2