Add support for version 3.0 of the CAS protocol.
Merge pull request #116 from fredrik-w/cas-3.0-support

Add support for version 3.0 of the CAS protocol.