Respect cache OPTIONS settings. Fixes Issue #13

This resolves the issue #13 issue with OPTIONS.

Also includes code from Pull Request #11. Also addresses de-serialization issues mentioned in issue #12.